package com.lingnan.service;

import java.time.LocalDate;
import java.util.Map;

public interface UserStatisticsService {
    long getJobSeekerCount();

    long getCompanyUserCount();

    long getHrUserCount();

    Map<String, Long> getUserGrowth(int days);

    long getJobSeekerCountByMonth(int month);

    long getCompanyUserCountByMonth(int month);

    long getHrUserCountByMonth(int month);

    long countJobSeekersByDateRange(LocalDate start, LocalDate end);

    long countCompaniesByDateRange(LocalDate start, LocalDate end);

    long countHrsByDateRange(LocalDate start, LocalDate end);

    // 新增：计算增长率百分比
    Map<String, String> getUserGrowthPercentage(int days);
}
